//
//  Common.h
//  TeamTiger
//
//  Created by xxcao on 16/7/28.
//  Copyright © 2016年 MobileArtisan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Common : NSObject

//去除UITableView多余分割线
+ (void)removeExtraCellLines:(UITableView *)tableView;

//字符串为空检查
+ (BOOL)isEmptyString:(NSString *)sourceStr;
//数组是否为空
+ (BOOL)isEmptyArr:(NSArray *)arr;
//获取安全的字符串
+ (NSString *)safeString:(NSString *)sourceStr;
//自定义push动画
+ (void)customPushAnimationFromNavigation:(UINavigationController *)nav ToViewController:(UIViewController *)vc Type:(NSString *)animationType SubType:(NSString *)subType;
//自定义pop动画
+ (void)customPopAnimationFromNavigation:(UINavigationController *)nav Type:(NSString *)animationType SubType:(NSString *)subType;
//根据16进制显示颜色
+ (UIColor *)colorFromHexRGB:(NSString *)inColorString;
//处理微信头像 头像大小 46 64 96 132
+ (NSString *)handleWeChatHeadImageUrl:(NSString *)headImgUrl Size:(double)size;

+ (NSDictionary *)unEncypt2StrWithString:(NSString *)srcStr Mode:(NSInteger)mode;
+ (NSDictionary *)unEncypt2DicWithDic:(NSDictionary *)srcDic Mode:(NSInteger)mode;


@end
